package model;

import java.io.Serializable;

/**
 * Class for describing museum artifacts
 *
 */
public final class Artifact implements Serializable {
	
	private int id;
	private String name;
	private String creator;
	private int yearOfCreation;
	private String placeOfCreation;
	private String[] genres;
	
	public Artifact(int id, 
					String name, 
					String creator,
					int yearOfCreation,
					String placeOfCreation,
					String[] genres) {
		this.id = id;
		this.name = name;
		this.creator = creator;
		this.yearOfCreation = yearOfCreation;
		this.placeOfCreation = placeOfCreation;
		this.genres = genres;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getCreator() {
		return creator;
	}

	public int getYearOfCreation() {
		return yearOfCreation;
	}

	public String getPlaceOfCreation() {
		return placeOfCreation;
	}

	public String[] getGenres() {
		return genres;
	}
}
